.modal-sidebar__head {
  display: flex;
  align-items: center;
  padding: 16px;
}

.modal-sidebar__head-icon {
  flex: 0 0 32px;
  border-radius: 100%;
  margin-right: 16px;
  background-color: $color-primary-500;
  color: $white;
  font-weight: 700;

  @include center-text(32px, 13px);
}

.modal-sidebar__head-name {
  font-weight: 600;
}

.modal-sidebar__nav {
  list-style: none;
  margin: 0;
  padding: 0 0 16px;
}

.modal-sidebar__nav-link {
  @extend %ellipsis;

  position: relative;
  display: block;
  line-height: 42px;
  padding: 0 20px 0 50px;
  border-left: solid 4px transparent;
  color: $color-primary-900;
  user-select: none;

  &:hover {
    text-decoration: none;
    background-color: darken($color-neutral-100, 2%);
  }

  &.active {
    background-color: darken($color-neutral-100, 2%);
    border-left-color: $color-primary-500;
    font-weight: 600;
  }
}

.modal-sidebar__nav-icon {
  position: absolute;
  left: 19px;
  top: 50%;
  line-height: 14px;
  margin-top: -7px;
  text-align: center;
  width: $fa-fw-width;
}
